<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="./js/ctx.js"></script>
</head>
<body>
<div id="cesiumContainer" class="fullSize"></div>
<div id="loadingOverlay"><h1>Loading...</h1></div>
<div id="toolbar"></div>
<script>
    var initCesium = new InitCesium();
    var viewer = initCesium.initViewer('cesiumContainer', {
        terrainProvider : Cesium.createWorldTerrain()
    });

	viewer.scene.camera.setView({
		destination: new Cesium.Cartesian3(1331419.302230775, -4656681.5022043325, 4136232.6465900405),
		orientation: new Cesium.HeadingPitchRoll(6.032455545102689, -0.056832496140112765, 6.282360923090216),
		endTransform : Cesium.Matrix4.IDENTITY
	});

	viewer.scene.primitives.add(new Cesium.Cesium3DTileset({
		url: Cesium.IonResource.fromAssetId(5741)
	}));

	viewer.scene.postProcessStages.fxaa.enabled = true;

	Sandcastle.addToggleButton('FXAA', true, function(checked) {
		viewer.scene.postProcessStages.fxaa.enabled = checked;
	});



</script>
</body>
</html>